package engine

import (
	"dbManager/manager/config"
	"dbManager/manager/strategy/ParseConfigFileStrategy"
	"dbManager/manager/strategy/deleteStrategy"
	"github.com/zhuxiujia/GoMybatis"
)

type Manager interface {
	GetEngine() GoMybatis.GoMybatisEngine
	GetSqlConfig() config.Config
	LoadXmlMapper(mapper interface{})
	CreateXmlMapper(bean interface{})
	SetDeleteStrategy(strategy deleteStrategy.DeleteStrategy)
	SetParseConfigFileStrategy(ReadConfigFileStrategy ...ParseConfigFileStrategy.ParseConfigFileStrategy)
	GetParseConfigFileStrategy() ParseConfigFileStrategy.ParseConfigFileStrategy
	SetConfig(config config.Config)
	OpenSql()
}
